package com.cdc.dragger10;
import javax.inject.Named;

import dagger.Module;
import dagger.Provides;

@Module
public class UserModule {
	
	
	public UserModule() {
		
	}
	
	
	
	/**
	 * 提供ApiService
	*/
	@Provides
	@Named("dev")
	public ApiService provideApiServiceDev() {
		System.out.println("开发实例");
		return new ApiService();
	}

	@Provides
	@Named("release")
	public ApiService provideApiServiceRelease() {
		System.out.println("正式实例");
		return new ApiService();
	}
	
	
	

}
